Skip to content

fix: check for invalid characters in path, query and headers#24

Merged
membphis merged 15 commits intoapi7:masterfrom
shreemaan-abhishek:fix/check-for-invalid-characterss
Feb 26, 2026
Merged

fix: check for invalid characters in path, query and headers#24
membphis merged 15 commits intoapi7:masterfrom
shreemaan-abhishek:fix/check-for-invalid-characterss

Conversation

@shreemaan-abhishek
Copy link

No description provided.

Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
local DEBUG = false


local function validate_chars(value)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the valid chars of path
the valid chars of header

they are different, you'd better to check it by different function

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…nhancement

Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Copy link

@membphis membphis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
@membphis membphis merged commit 3a3203a into api7:master Feb 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants